From: Florian Müllner Date: Fri, 15 Dec 2023 19:54:00 +0000 (+0100) Subject: lookingGlass: Set expand of DebugFlags children X-Git-Tag: archive/raspbian/50.5-1+rpi1~1^2~281^2~2^2~240 X-Git-Url: https://dgit.raspbian.org/%22http://www.example.com/cgi/%22/%22http:/www.example.com/cgi/%22?a=commitdiff_plain;h=38d9026bc7c06b82265f0ec11bbbc09ce0bf62d4;p=gnome-shell.git lookingGlass: Set expand of DebugFlags children Since commit c290a38730eb2a, St.Bin respects the child's expand properties instead of basing expansion on the alignment. Commit b02800f8 updated a number of callers to prepare for the change, but the "Flags" tab in looking glass was missed. Part-of: --- diff --git a/js/ui/lookingGlass.js b/js/ui/lookingGlass.js index 7414a3058..ff44c2728 100644 --- a/js/ui/lookingGlass.js +++ b/js/ui/lookingGlass.js @@ -1067,7 +1067,7 @@ const DebugFlag = GObject.registerClass({ GTypeFlags: GObject.TypeFlags.ABSTRACT, }, class DebugFlag extends St.Button { _init(label) { - const box = new St.BoxLayout(); + const box = new St.BoxLayout({x_expand: true}); const flagLabel = new St.Label({ text: label,